package com.poetize.plus.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;

/**
 * @author zuosy
 * @created 2024/3/29 14:07
 */
public record MenuTreeDTO(
        @Schema(description = "菜单分区（0：后端，1：门户）")
        @NotBlank(message = "菜单分区不能为空")
        String partition,

        @Schema(description = "菜单名称")
        String name
) {

}
